﻿using System;
using System.Runtime.Serialization;

namespace ServiceContract.Dtos
{
    [DataContract]
    public class FileAsset
    {
        [DataMember]
        public Guid ID { get; set; }

        /// <summary>
        /// Gets or sets file asset binary content in array of bytes
        /// </summary>
        [DataMember]
        public byte[] BinaryContent { get; set; }

        /// <summary>
        /// Gets or sets content type
        /// </summary>
        [DataMember]
        public String FormatType { get; set; }
    }
}
